<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/include/taglibs.jsp"%>
<%
    String searchFormAction = "/module/shop/shop.do";
    String searchFormCmd = "shopList";
    String searchShowlabel="head.10";
    

	if("shopList".equals(request.getParameter("CMD")) ){
		session.setAttribute("searchFormCmd","shopList");
	}
	if("contentList".equals(request.getParameter("CMD")) ){
		session.setAttribute("searchFormCmd","contentList");
		searchShowlabel = "head.11";
	}
	if("companyList".equals(request.getParameter("CMD")) ){
		session.setAttribute("searchFormCmd","companyList");
		searchShowlabel = "head.12";		
	}
	if("exhibitionList".equals(request.getParameter("CMD")) ){
		session.setAttribute("searchFormCmd","exhibitionList");
		searchShowlabel = "head.13";		
	}
	
    if(session.getAttribute("searchFormAction")!= null)
	    searchFormAction = (String)session.getAttribute("searchFormAction");
    if(session.getAttribute("searchFormCmd")!= null)
	    searchFormCmd = (String)session.getAttribute("searchFormCmd");
 %>
<form name="searchBarForm" action="<%=searchFormAction %>" method="post">
 <input type="hidden" name="CMD" value="<%=searchFormCmd %>" >
 <input type="hidden" name="parentCat" >
 <input name="name" type="text" size="30" />
 <mytag:CascadSelect name="catproduct" selectParent="false" dictName="产品类别" label="company.77"/>     
 <mytag:national name="country" dictName="<%=Constants.ALLCOUNTRY%>"/>
 <img src="/images/in_search.gif" onclick="document.searchBarForm.submit()"
 	alt="<bean:message key="<%=searchShowlabel %>"/>"  align="absmiddle">
<h2><bean:message key="keywords"/></h2> 	
</form>
